-
Home
-
ArvanCloud CDN
-
0.9.10
-
Code
-
Classes
- Firewall
Total Complexity |
34 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
260 |
Lines of code |
158 |
Logical lines of code |
90 |
Comment lines |
22 |
Methods |
16 |
Properties |
5 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
return_based_on_status_code() |
S |
61 |
5 |
12 |
ajax_add_rules() |
S |
52 |
3 |
23 |
change_rule_priority() |
S |
55 |
3 |
19 |
ajax_update_rules() |
S |
56 |
2 |
16 |
maybe_convert_string_to_bool() |
S |
65 |
3 |
10 |
checking_allowed_options() |
S |
68 |
3 |
6 |
ajax_saving_options() |
S |
60 |
2 |
12 |
__construct() |
S |
70 |
2 |
7 |
set_props() |
S |
68 |
2 |
7 |
get_rules() |
S |
68 |
2 |
7 |
checking_nonce() |
S |
69 |
2 |
6 |
ajax_get_rule() |
S |
65 |
1 |
8 |
ajax_delete_rules() |
S |
65 |
1 |
8 |
is_option_allowed() |
S |
71 |
1 |
6 |
is_value_allowed() |
S |
69 |
1 |
7 |
get_firewall_config() |
S |
75 |
1 |
4 |